package aaron.pattern.commonstate;

/**
 * Created by aaron on 17-6-14.
 */
public class ConcreteState2 extends State {
    @Override
    public void handle1() {
        super.context.setCurrentState(Context.STATE_1);
        super.context.handle1();
    }

    @Override
    public void handle2() {
        System.out.println("This is handle2");
    }

}
